import request from '@/utils/request'

const api = {
  updates: '/v1/auth/invite',
  query: '/v1/auth/invite/paging',
}


export const getList = e => {
  return request({
    url: api.query,
    method: 'get',
    params: e
  })
}

export const edit = (e, id, status) => {
  return request({
    url: api.updates + '/' + id + '/' + status,
    method: 'put',
    data: e
  })
}